home *** CD-ROM | disk | FTP | other *** search
- GOTO
- Transfers control of a batch file to a labelled line
-
- The command after the line containing the appropriate label is executed.
- The label cannot be on a line with any command.
-
- COMMAND TYPE: Internal (batch) VERSION: 2.0 and up
-
- USE: GOTO :label
-
- In a batch file, a label is a word preceded by a colon (:). These
- lines are ignored when the batch file is executed.
-
- EXAMPLE: :begin
- format a: /s
- if errorlevel 0 goto end
- echo An error occurred during formatting
- :end
- echo End of batch file
-